package com.xc.ezplan.core.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author lixingchen
 * @date 2022-11-15
 * @description 登录用户DTO
 */
@Data
public class AdminUserDTO {
    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    private Long id;

    /**
     * 部门ID
     */
    @ApiModelProperty(value = "部门ID")
    private Long deptId;

    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名")
    private String username;

    /**
     * 昵称
     */
    @ApiModelProperty(value = "昵称")
    private String nickName;

    /**
     * 性别
     */
    @ApiModelProperty(value = "性别")
    private String gender;

    /**
     * 手机号码
     */
    @ApiModelProperty(value = "手机号码")
    private String phone;

    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱")
    private String email;

    /**
     * 头像地址
     */
    @ApiModelProperty(value = "头像地址")
    private String avatarName;

    /**
     * 头像真实路径
     */
    @ApiModelProperty(value = "头像真实路径")
    private String avatarPath;

    /**
     * 密码
     */
    @ApiModelProperty(value = "密码")
    private String password;

    /**
     * 是否为admin账号
     */
    @ApiModelProperty(value = "是否为admin账号")
    private Boolean isAdmin;

    /**
     * 状态：1启用、0禁用
     */
    @ApiModelProperty(value = "状态：1启用、0禁用")
    private Long enabled;
}
